package com.example.ojcodesandbox.impl;

import com.example.ojcodesandbox.codesandbox.AbstractNotCompileTemplate;
import com.example.ojcommon.common.ExecuteCodeRequest;
import com.example.ojcommon.common.ExecuteCodeResponse;

public class PythonDockerCodeSandbox extends AbstractNotCompileTemplate {
    @Override
    public ExecuteCodeResponse executeCode(ExecuteCodeRequest executeCodeRequest) {
        return super.executeCode(executeCodeRequest, "python:latest", new String[]{"python3", "/app/Main.py"});
    }
}
